package com.jsmtr.rms.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "DoBS_User")
public class DoBSUser {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // ID

    @Column(nullable = false, length = 50)
    private String fid; // 招聘流程ID

    @Column(nullable = false, length = 50)
    private String userid; // 应聘者ID

/*
    @Column(nullable = false) */
/*此字段在myHrWeb中无，数据库中无*//*

    private Date addDate; // 投递简历时间
*/

    @Column(nullable = false)
    private Integer startnum; // 座位开始编号

    @Column(nullable = false)
    private Integer allnum; // 有效座位数

    @Column(nullable = true)
    private Date changeDate; // 投简历以后修改简历的时间

    @Column(nullable = true)
    private Date qydate; // 签约录入时间

    @Column(nullable = true)
    private Date zsdate; // 背景调查录入时间

    @Column(nullable = true)
    private Date editDate; // 背景调查录入时间

    @Column(nullable = true)
    private Date zldate; // 资料审核录入时间

    @Column(nullable = true)
    private Date tjdate; // 体检录入时间

    @Column(nullable = true)
    private Date birthday;  //生日

    @Column(nullable = true)
    private Date sxdate; // 实习录入时间

    @Column(nullable = true)
    private Date gwdate; // 岗位分配录入时间

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date qlgettime; // 职业资格证(取得时间)

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date postgettime; // 专业技术职务(取得时间)

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date othdate; // 其他资格证(取得时间)

    @Column(nullable = true)
    private Date fqdate; // 放弃时间

    @Column(nullable = false)
    private Integer seatnum; // 座位号

    @Column(nullable = true, length = 50)
    private String ticketnum; // 准考证号

    @Column(nullable = true, length = 50)
    private String kcname; // 考场名称

    @Column(nullable = false, length = 20)
    private String starttime; // 开始时间

    @Column(nullable = false, length = 1000)
    private String address; // 考试地点

    @Column(nullable = true)
    private Date bddate; // 报到录入时间

    @Column(nullable = false)
    private Integer notice; // 是否通知应聘者

    @Column(nullable = true, length = 10)
    private String zhszpoint; // 综合素质分数

    @Column(nullable = true, length = 10)
    private String zhszresult; // 综合素质结果

    @Column(nullable = true, length = 10)
    private String gxcppoint; // 个性测评分数

    @Column(nullable = true, length = 10)
    private String gxcpresult; // 个性测评结果

    @Column(nullable = true, length = 10)
    private String zycppoint; // 专业测评分数

    @Column(nullable = true, length = 10)
    private String zycpresult; // 专业测评结果

    @Column(nullable = true, length = 10)
    private String point; // 笔试总分

    @Column(nullable = false, length = 10)
    private String result; // 笔试通过情况（-;通过;未通过）

    @Column(nullable = true, length = 50)
    private String pointuser; // 笔试录入人

    @Column(nullable = true)
    private Date pointdate;//笔试成绩录入时间

    @Column(nullable = true, length = 500)
    private String Remark; // 准考证备注

    @Column(nullable = true, length = 10)
    private String op6; // 报到结果是否公开（null/已公布/未公布）

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getStartnum() {
        return startnum;
    }

    public void setStartnum(Integer startnum) {
        this.startnum = startnum;
    }

    public Integer getAllnum() {
        return allnum;
    }

    public void setAllnum(Integer allnum) {
        this.allnum = allnum;
    }

    public Integer getSeatnum() {
        return seatnum;
    }

    public void setSeatnum(Integer seatnum) {
        this.seatnum = seatnum;
    }

    public String getTicketnum() {
        return ticketnum;
    }

    public void setTicketnum(String ticketnum) {
        this.ticketnum = ticketnum;
    }

    public String getKcname() {
        return kcname;
    }

    public void setKcname(String kcname) {
        this.kcname = kcname;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getNotice() {
        return notice;
    }

    public void setNotice(Integer notice) {
        this.notice = notice;
    }

    public String getZhszpoint() {
        return zhszpoint;
    }

    public void setZhszpoint(String zhszpoint) {
        this.zhszpoint = zhszpoint;
    }

    public String getZhszresult() {
        return zhszresult;
    }

    public void setZhszresult(String zhszresult) {
        this.zhszresult = zhszresult;
    }

    public String getGxcppoint() {
        return gxcppoint;
    }

    public void setGxcppoint(String gxcppoint) {
        this.gxcppoint = gxcppoint;
    }

    public String getGxcpresult() {
        return gxcpresult;
    }

    public void setGxcpresult(String gxcpresult) {
        this.gxcpresult = gxcpresult;
    }

    public String getZycppoint() {
        return zycppoint;
    }

    public void setZycppoint(String zycppoint) {
        this.zycppoint = zycppoint;
    }

    public String getZycpresult() {
        return zycpresult;
    }

    public void setZycpresult(String zycpresult) {
        this.zycpresult = zycpresult;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Date getPointdate() {
        return pointdate;
    }

    public void setPointdate(Date pointdate) {
        this.pointdate = pointdate;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getOp6() {
        return op6;
    }

    public void setOp6(String op6) {
        this.op6 = op6;
    }

    public String getPointuser() {
        return this.pointuser;
    }

    public void setPointuser(String pointuser) {
        this.pointuser = pointuser;
    }

/*    public Date getAddDate() {
        return addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }*/

    public Date getBddate() {
        return bddate;
    }

    public void setBddate(Date bddate) {
        this.bddate = bddate;
    }

    public Date getChangeDate() {
        return changeDate;
    }

    public void setChangeDate(Date changeDate) {
        this.changeDate = changeDate;
    }

    public Date getFqdate() {
        return fqdate;
    }

    public void setFqdate(Date fqdate) {
        this.fqdate = fqdate;
    }

    public Date getGwdate() {
        return gwdate;
    }

    public void setGwdate(Date gwdate) {
        this.gwdate = gwdate;
    }

    public Date getOthdate() {
        return othdate;
    }

    public void setOthdate(Date othdate) {
        this.othdate = othdate;
    }

    public Date getPostgettime() {
        return postgettime;
    }

    public void setPostgettime(Date postgettime) {
        this.postgettime = postgettime;
    }

    public Date getQlgettime() {
        return qlgettime;
    }

    public void setQlgettime(Date qlgettime) {
        this.qlgettime = qlgettime;
    }

    public Date getQydate() {
        return qydate;
    }

    public void setQydate(Date qydate) {
        this.qydate = qydate;
    }

    public Date getSxdate() {
        return sxdate;
    }

    public void setSxdate(Date sxdate) {
        this.sxdate = sxdate;
    }

    public Date getTjdate() {
        return tjdate;
    }

    public void setTjdate(Date tjdate) {
        this.tjdate = tjdate;
    }

    public Date getZldate() {
        return zldate;
    }

    public void setZldate(Date zldate) {
        this.zldate = zldate;
    }

    public Date getZsdate() {
        return zsdate;
    }

    public void setZsdate(Date zsdate) {
        this.zsdate = zsdate;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getEditDate() {
        return editDate;
    }

    public void setEditDate(Date editDate) {
        this.editDate = editDate;
    }
}